package com.programming.consumption.dao;

import java.util.List;

import com.programming.common.exception.DAOException;
import com.programming.common.page.Page;
import com.programming.consumption.dataobject.ConsumerCard;
import com.programming.consumption.query.ConsumerCardQuery;

public interface ConsumerCardDAO {
	public void save(ConsumerCard consumerCard) throws DAOException;

	public void update(ConsumerCard consumerCard) throws DAOException;

	public void delete(Long id) throws DAOException;

	public ConsumerCard getById(Long id) throws DAOException;

	public List<ConsumerCard> queryList(ConsumerCardQuery query) throws DAOException;

	public Page queryPage(ConsumerCardQuery query) throws DAOException;
}
